<?php
/**
 * Created by PhpStorm.
 * User: hasee
 * Date: 2018/3/21
 * Time: 14:50
 */
use yii\widgets\ActiveForm;
?>


<!DOCTYPE html>
<html>
<head>
  <title></title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <meta name="format-detection" content="telephone=no" />
  <link href="/css/style.css" rel="stylesheet">
  <script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
</head>
<body>

    <div class="registration-form">
         
        <div class="registration-form">
         
      
            
<?php $form = ActiveForm::begin(); ?>
 <div class="top1 view" id="basic">

    <div class="wapper1">
        <img src="/img/jb.png">
    <ul>
        <li>
            <span>姓名</span>
         

             <input type="text" name="Registration[name]" id="registration-name"  onblur="Registration_name()"    value="<?= $model->name?>">
            <span>性别</span>
            <input type="radio" name="genter" value="男"> <span>男</span>
            <input type="radio" name="genter" value="女"> <span>女</span>
        </li>

       
        <input id="next" style="" value="" type="submit">
    </ul>
</div>

</div>
    

    <?php ActiveForm::end(); ?>

        
           

        
       


 
          
        
    </div>
         
          
        
    </div>

</body>
</html>
<script type="text/javascript">
    
    $('#next1111').click(function(){
      alert(111);  
      
     $.post(" /summit/viewer",$("#form111").serialize(),function(data){  
     alert(111);     
        if(data == 1){
            alert(123);
        }else{
            alert(456);
            
        }
    });
    return false;
   })
</script>